package com.goktech.olala.server.dao.goods;

import com.goktech.olala.server.pojo.goods.GoodsParam;

import java.util.List;

/**
 * @author wusq
 * 商品参数
 */
public interface GoodsParamMapper {
    /**
     * 多条件新增
     * @param record
     * @return
     * @throws Exception
     */
    int insertByExample(GoodsParam record) throws Exception;

    /**
     * 查询全部
     * @return
     * @throws Exception
     */
    List<GoodsParam> selectAll() throws Exception;

    /**
     * 通过id查询
     * @param goodsId
     * @return
     * @throws Exception
     */
    GoodsParam selectByPrimaryKey(String goodsId) throws Exception;
}